//====================================================================MAIN LISTS

	CMD:help(playerid, params[])
	{
		new str[471];
		strcat(str, FormatColours("{YELLOW}Type {BLUE}/cmds {YELLOW}for a list of commands\n"));
		strcat(str, FormatColours("Type {BLUE}/rules {YELLOW}for the server rules, please follow these :)\n"));
		strcat(str, FormatColours("Type {BLUE}/teles {YELLOW}for a list of teleports\n"));
		strcat(str, FormatColours("Type {BLUE}/stats {YELLOW}for info on kills deaths rank level XP...\n"));
		strcat(str, FormatColours("Type {BLUE}/acmds {YELLOW}for a list of admin commands\n"));
		strcat(str, FormatColours("Type {BLUE}/dmhelp {YELLOW}for Deathmatching mode help\n"));
		strcat(str, FormatColours("Type {BLUE}/credits {YELLOW}list of people who contributed to this server :)\n"));
		ShowPlayerDialog(playerid, d_Cmds, DIALOG_STYLE_MSGBOX, "Help List", str, "Close", "");
		return 1;
	}
	CMD:cmds(playerid, params[])
	{
		new str[507];
		strcat(str, FormatColours("{YELLOW}/fun {BLUE}- Fun activities and things to do on Hellfire Server\n"));
		strcat(str, FormatColours("{YELLOW}/pcmds {BLUE}- Player commands\n"));
		strcat(str, FormatColours("{YELLOW}/vcmds {BLUE}- Vehicle commands\n"));
		strcat(str, FormatColours("{YELLOW}/randoms {BLUE}- Random commands\n"));
		strcat(str, FormatColours("{YELLOW}/dmcmds {BLUE}- Deathmatch commands\n"));
		strcat(str, FormatColours("{YELLOW}/chatcmds {BLUE}- Chat commands\n"));
		strcat(str, FormatColours("{YELLOW}/animlist {BLUE}- Animations/Actions Thanks to Seif :D\n"));
		strcat(str, FormatColours("{YELLOW}/minigames {BLUE}- Minigames, ask admins to start these events\n"));
		strcat(str, FormatColours("{YELLOW}/minidm {BLUE}- Mini deathmatch gamemodes, more info: {FFFF00}/minidms\n"));
		ShowPlayerDialog(playerid, d_Cmds, DIALOG_STYLE_MSGBOX, "Cmds List", str, "Close", "");
		return 1;
	}
	CMD:rules(playerid, params[])
	{
		new str[593];
		strcat(str, FormatColours("{WHITE} - - - - - - RULES: - - - - - - \n"));
		strcat(str, FormatColours("{RED} *** No Randomly killing people, ASK If someone wants to Deathmatch and use /dmcmds *** \n"));
		strcat(str, FormatColours("{BLUE}No anoying/bullying or discrimination/racism\n"));
		strcat(str, FormatColours("No cheats/hacks/cleos - these can crash players or the server\n"));
		strcat(str, FormatColours("No spawn killing or team killing in a deathmatch\n"));
		strcat(str, FormatColours("And if someone is at your spawnpoint and they are running away they are avoiding spawnkilling so dont shoot them\n"));
		strcat(str, FormatColours("No Park Killing [parking on top of a player to kill them]\n"));
		strcat(str, FormatColours("No Obstructing Races or jumps, parking cars in the road or leaving them at teleports.\n"));
		strcat(str, FormatColours("{YELLOW}And thats pretty much it! have fun!\n"));
		ShowPlayerDialog(playerid, d_Cmds, DIALOG_STYLE_MSGBOX, "Rules List", str, "Close", "");
		return 1;
	}
	CMD:teles(playerid, params[])
	{
		new str[261];
		strcat(str, FormatColours("{YELLOW}/places {BLUE}- Cities, Towns and Airports\n"));
		strcat(str, FormatColours("{YELLOW}/races {BLUE}- Races in San Andreas\n"));
		strcat(str, FormatColours("{YELLOW}/drifts {BLUE}- Drift Roads\n"));
		strcat(str, FormatColours("{YELLOW}/jumps {BLUE}- BIG Jumps!!\n"));
		strcat(str, FormatColours("{YELLOW}/tuning {BLUE}- Vehicle Mod Shops\n"));
		strcat(str, FormatColours("{YELLOW}/random {BLUE}- Random Places :)\n"));
		ShowPlayerDialog(playerid, d_Cmds, DIALOG_STYLE_MSGBOX, "Teleports List", str, "Close", "");
		return 1;
	}
	CMD:acmds(playerid, params[])
	{
		new str[458];
		if(pAdmin(playerid) >= 3)
		{
			strcat(str, FormatColours("{YELLOW}- Admin Level 3{BLUE}\n"));
			strcat(str, FormatColours("/setadmin, /time, /globalweather, /grav, /clear, /port\n"));
			strcat(str, FormatColours("/fake, /explode, /ban, /allwep, /invis, /vis, /givewep\n"));
		}
		if(pAdmin(playerid) >= 2)
		{
		    strcat(str, FormatColours("{YELLOW}- Admin Level 2{BLUE}\n"));
		    strcat(str, FormatColours("/get, /akill, /kick, /[un]freeze\n"));
		    strcat(str, FormatColours("/[un]mute, /warn, /allheal, /disarm, /ej\n"));
		}
		if(pAdmin(playerid) >= 1)
		{
		    strcat(str, FormatColours("{YELLOW}- Admin Level 1{BLUE}\n"));
		    strcat(str, FormatColours("/god, /health, /givecar, /heal, /ann\n"));
		    strcat(str, FormatColours("/goto, /watch[off], /count, /dmkick, /dmban, /dmunban\n"));
		    strcat(str, FormatColours("/minigame {FFFF00}- start a minigame, {33AA33}/minidm {FFFF00}- start a mini deathmatch game\n"));
		}
		if(pAdmin(playerid)==0)msg(playerid, RED, "**You are not an admin, type /help for commands");
		else ShowPlayerDialog(playerid, d_Cmds, DIALOG_STYLE_MSGBOX, "Admin Commands List", str, "Close", "");
		return 1;
	}
	CMD:dmhelp(playerid, params[])
	{
		new str[399];
		strcat(str, FormatColours("{BLUE}To start a deathmatch if there are none in progress\n"));
		strcat(str, FormatColours("{BLUE}Type /startdm if there is one in progress type /joindm\n"));
		strcat(str, FormatColours("{BLUE}to join it, select your team from the menu, **Space to select in menus NOT enter!**\n"));
		strcat(str, FormatColours("{GREEN}when you start a DM select them map from the menu then a gamemode\n"));
		strcat(str, FormatColours("{GREEN}Only certain gamemodes are available on certain maps, type /dminfo for info on modes\n"));
		ShowPlayerDialog(playerid, d_Cmds, DIALOG_STYLE_MSGBOX, "Deathmatch Help", str, "Close", "");
		return 1;
	}
	CMD:credits(playerid, params[])
	{
		new str[788];
		strcat(str, FormatColours("{YELLOW}Server Development Credits\n"));
		strcat(str, FormatColours("{BLUE}Southclaw{YELLOW} - Scripting, Mapping, Ideas, Creator/Founder\n"));
		strcat(str, FormatColours("{BLUE}Onfire559{YELLOW} - Mapping, Ideas, Hosting, Managing, Support\n"));
		strcat(str, FormatColours("{BLUE}Cagatay{YELLOW} - Mapping, Ideas, Support\n"));
		strcat(str, FormatColours("{BLUE}Defiance{YELLOW} - Mapping, Ideas, Support\n"));
		strcat(str, FormatColours("{BLUE}Scythe{YELLOW} - Mapping, Ideas, Support\n"));
		strcat(str, FormatColours("{BLUE}SirDewie{YELLOW} - Many Great Ideas\n\n"));
		strcat(str, FormatColours("{YELLOW}Contributions\n"));
		strcat(str, FormatColours("{BLUE}Y_Less{YELLOW} - Lots of script help and influence\n"));
		strcat(str, FormatColours("{BLUE}Seif{YELLOW} - Used some scripts from Seif\n"));
		strcat(str, FormatColours("{BLUE}Sandra{YELLOW} - Used some scripts from Sandra\n"));
		strcat(str, FormatColours("{BLUE}Fallout{YELLOW} - Used some scripts and shared ideas with Fallout\n\n"));
		strcat(str, FormatColours("{GREEN}Big Thanks to the SA:MP Team for making this mod possible\n"));
		strcat(str, FormatColours("{GREEN}And to the SA:MP Community for sharing scripts, help, ideas and support!\n"));
		ShowPlayerDialog(playerid, d_Cmds, DIALOG_STYLE_MSGBOX, "Server Credits", str, "Close", "");
		return 1;
	}

//======================================================================COMMANDS

	CMD:fun(playerid, params[])
	{
	    new str[422];
		strcat(str, FormatColours("{YELLOW}/startdm {RED}- {BLUE}Start a deathmatch, choose from a wide variety of maps and gametypes\n"));
		strcat(str, FormatColours("{YELLOW}/joindm {RED}- {BLUE}Someone already started a deathmatch? Use this to join an existing deathmatch\n"));
		strcat(str, FormatColours("{YELLOW}/sumo {RED}- {BLUE}Car Sumo! On the top of a building! which makes it more interesting!\n"));
		strcat(str, FormatColours("{YELLOW}/parkour {RED}- {BLUE}Try to reach the finish point by jumping across buildings as fast as you can!\n"));
		ShowPlayerDialog(playerid, d_Cmds, DIALOG_STYLE_MSGBOX, FormatColours("{BLUE}** Activities, Minigames and Things To Do on {RED}Hellfire Server {BLUE}**"), str, "Close", "");
		return 1;
	}
	CMD:pcmds(playerid, params[])
	{
	    new str[450];
		strcat(str, FormatColours("/admins - see a list of online admins\n"));
		strcat(str, FormatColours("/report - seen a player not obeying rules? report them to online admins!\n"));
		strcat(str, FormatColours("/psave - save your position and go back with /b\n"));
		strcat(str, FormatColours("/getstats - see the profile stats of another player, additional information is given to admins\n"));
		strcat(str, FormatColours("/givecash - feeling charitable? give some money to another player!\n"));
		strcat(str, FormatColours("/colour - Change your player colour\n"));
		strcat(str, FormatColours("/skin - Change your skin\n"));
		strcat(str, FormatColours("/para - get a parachute\n"));
		strcat(str, FormatColours("/items - choose from a list of items to use\n"));
		ShowPlayerDialog(playerid, d_Cmds, DIALOG_STYLE_MSGBOX, "Player Commands List", str, "Close", "");
		return 1;
	}
	CMD:vcmds(playerid, params[])
	{
	    new str[210];
		strcat(str, FormatColours("/f - fix and flip your car\n"));
		strcat(str, FormatColours("/lock & /unlock - lock or unlock your car\n"));
		strcat(str, FormatColours("/nos - +Adds nitro boost to your car\n"));
		strcat(str, FormatColours("/ct - Talk to only the people in your car\n"));
		strcat(str, FormatColours("/v - Spawn a vehicle\n"));
		strcat(str, FormatColours("/mod - Choose some mods for your vehicle\n"));
		ShowPlayerDialog(playerid, d_Cmds, DIALOG_STYLE_MSGBOX, "Vehicle Commands List", str, "Close", "");
		return 1;
	}
	CMD:randoms(playerid, params[])
	{
	    new str[170];
		strcat(str, FormatColours("/sky - Try It!\n"));
		strcat(str, FormatColours("/para - Get a parachute\n"));
		strcat(str, FormatColours("/pos - Your coordinates\n"));
		strcat(str, FormatColours("/idea - Submit an idea to the server\n"));
		strcat(str, FormatColours("/bug - Report a bug on the server\n"));
		strcat(str, FormatColours("/rand - Generate a random number...\n"));
		ShowPlayerDialog(playerid, d_Cmds, DIALOG_STYLE_MSGBOX, "Random Commands List", str, "Close", "");
		return 1;
	}
	CMD:dmcmds(playerid, params[])
	{
	    new str[264];
		strcat(str, FormatColours("/dmtips - *Read This* for tips on playing deathamtches on Hellfire\n"));
		strcat(str, FormatColours("/dmhelp - Deathmatch help\n"));
		strcat(str, FormatColours("/t - talk to members in you team\n"));
		strcat(str, FormatColours("/g - Global chat\n"));
		strcat(str, FormatColours("/booster - Use your Killchain Booster\n"));
		strcat(str, FormatColours("/gear - Use your gear item (if it is a gear item that requires use of the command)\n"));
		ShowPlayerDialog(playerid, d_Cmds, DIALOG_STYLE_MSGBOX, "Deathmatch Commands List", str, "Close", "");
		return 1;
	}
	CMD:chatcmds(playerid, params[])
	{
	    new str[360];
		format(str, 100, FormatColours("/me - Do a me message like '/me is happy' = '%s is happy'\n"), GetName(playerid));
		strcat(str, FormatColours("/pm & /chat - private chatting with other players, use /block to stop players using these commands on you\n"));
		strcat(str, FormatColours("/hide - Hide a players chat text from appearing in your chatbox\n"));
		strcat(str, FormatColours("/g - global chat for when you are in private chat or teamtalk\n"));
		strcat(str, FormatColours("/qlist - show a list of your Quickchat messages"));
		ShowPlayerDialog(playerid, d_Cmds, DIALOG_STYLE_MSGBOX, "Chat Commands List", str, "Close", "");
		return 1;
	}
	CMD:animlist(playerid, params[])
	{
	    new str[730];
	    strcat(str, FormatColours("/fall - /fallback - /injured - /akick - /push - /lowbodypush - /handsup - /bomb - /drunk - /getarrested - /laugh - /sup\n"));
        strcat(str, FormatColours(" /basket - /headbutt - /cpr - /spray - /robman - /taichi - /lookout - /kiss - /cellin - /cellout - /crossarms - /lay\n"));
        strcat(str, FormatColours("/deal - /crack - /smoke - /groundsit - /talk - /dance - /fucku - /strip - /cower - /vomit - /eat - /chairsit - /reload\n"));
        strcat(str, FormatColours("/koface - /kostomach - /rollfall - /carjacked1 - /carjacked2 - /rcarjack1 - /rcarjack2 - /lcarjack1 - /lcarjack2 - /bat\n"));
        strcat(str, FormatColours("/lifejump - /exhaust - /leftslap - /carlock - /hoodfrisked - /lightcig - /tapcig - /box - /lay2 - /chant - finger\n"));
        strcat(str, FormatColours("/shouting - /knife - /cop - /elbow - /kneekick - /airkick - /gkick - /gpunch - /fstance - /lowthrow - /highthrow - /aim\n"));
        strcat(str, FormatColours("/pee - /lean - /run\n"));
		ShowPlayerDialog(playerid, d_Cmds, DIALOG_STYLE_MSGBOX, "Animation Commands List", str, "Close", "");
        return true;
	}
	CMD:minigames(playerid, params[])
	{
	    new str[201];
		strcat(str, FormatColours("{WHITE}Marked Man\n\t{YELLOW}One player is 'marked' everyone else has to try and kill him.\n\n"));
		strcat(str, FormatColours("{WHITE}Juggernaut\n\t{YELLOW}One player is chosen to be the 'Juggernaut' he has to hunt down other players.\n\n"));
		ShowPlayerDialog(playerid, d_Cmds, DIALOG_STYLE_MSGBOX, "Minigames List", str, "Close", "");
		return 1;
	}
	CMD:minidms(playerid, params[])
	{
		if(params[0]=='1')
	    ShowPlayerDialog(playerid, d_MiniDMinfo, DIALOG_STYLE_MSGBOX, "One in the Chamber", "At the beginning everyone starts with a pistol and one bullet, along with three lives.\nIf you make a successful kill with that one bullet, you will be rewarded another. Otherwise\n,you will only be left with melee to take out your enemies. The last player standing will win the match.", "Exit", "");
		if(params[0]=='2')
	    ShowPlayerDialog(playerid, d_MiniDMinfo, DIALOG_STYLE_MSGBOX, "Gun Game", "At the beginning everyone starts with a pistol and melee weapon. After each successful kill you will be given the next best weapon.\nThe first person to reach the top weapon in the game will win the match.\nIf you get killed wiht a melee weapon, you will be given the previous weapon", "Exit", "");
		if(params[0]=='3')
	    ShowPlayerDialog(playerid, d_MiniDMinfo, DIALOG_STYLE_MSGBOX, "Sharpshooter", "At the beginning everyone starts with a randomly selected weapon. After a minute, the weapon is replaced with another\nEach kill will earn the player a point. The player to have the most points at the end of the match will win.", "Exit", "");
		if(params[0]=='4')
	    ShowPlayerDialog(playerid, d_MiniDMinfo, DIALOG_STYLE_MSGBOX, "Timed Expedition", "At the beginning everyone starts with the weapon of their choice (from a selective menu of weapons).\nEach player will try and stay alive as long as possible. Each second will give the player + 1 score.\nThe player at the end of the match with the highest score will win.", "Exit", "");
		if(params[0]=='5')
	    ShowPlayerDialog(playerid, d_MiniDMinfo, DIALOG_STYLE_MSGBOX, "Last Man", "At the beginning everyone starts with the weapon of their choice (from a selective menu of weapons).\nEveryone has one life and the last person to be standing at the end of the match will be the winner.", "Exit", "");
	    return 1;
	}

//=====================================================================TELEPORTS

	CMD:places(playerid, params[])
	{
	    new str[359];
		strcat(str, "/home - return to your home spawnpoint\n");
		strcat(str, "/ls - los santos ~ /sf - san fierro ~ /lv - las venturas\n");
		strcat(str, "/lsair - LS airport ~ /sfair - SF airport ~ /lvair - LV airport\n");
		strcat(str, "/airbase - Army base in desert\n");
		strcat(str, "/aa - abandonded airport\n");
		strcat(str, "/ch - chilliad\n");
		strcat(str, "/qu - quarry\n");
		strcat(str, "/bay - bayside fishing village\n");
		strcat(str, "/ear - The Big Ear satalite\n");
		strcat(str, "/probe - li'l probe inn, near Fort Carson in the desert\n");
		ShowPlayerDialog(playerid, d_Cmds, DIALOG_STYLE_MSGBOX, "Cities, Towns, Airports and Places of interest", str, "Close", "");
		return 1;
	}
	CMD:Races(playerid, params[])
	{
	    new str[227];
		strcat(str, "/race1 - Las Venturas Loop\n");
		strcat(str, "/race2 - Country to City Coastal Race\n");
		strcat(str, "/race3 - Circit Around LS\n");
		strcat(str, "/rally1 - Woodland Rally\n");
		strcat(str, "/rally2 - Riverside Rally\n");
		strcat(str, "/drag1 - Bridge 1 in san fierro\n");
		strcat(str, "/drag2 - Bridge 2 in san fierro\n");
		strcat(str, "/drag3 - Tunnel Race\n");
		ShowPlayerDialog(playerid, d_Cmds, DIALOG_STYLE_MSGBOX, "Races List", str, "Close", "");
		return 1;
	}
	CMD:drifts(playerid, params[])
	{
	    new str[118];
		strcat(str, "/drift1 - The Big Ear stalite telescope\n");
		strcat(str, "/drift2 - Radio antenna near san fierro\n");
		strcat(str, "/drift3 - Drift road in south country\n");
		ShowPlayerDialog(playerid, d_Cmds, DIALOG_STYLE_MSGBOX, "Drift Road List", str, "Close", "");
		return 1;
	}
	CMD:jumps(playerid, params[])
	{
	    new str[179];
		strcat(str, "/bigjump1 & /bigjump2 - Big Jumps at LV Airport\n");
		strcat(str, "/hugejump - HUGE jump landing you at SF Airport [maybe further if you go fast enough!]\n");
		strcat(str, "/halfhugejump - Half way down the huge jump\n");
		ShowPlayerDialog(playerid, d_Cmds, DIALOG_STYLE_MSGBOX, "Stunt Jumps List", str, "Close", "");
		return 1;
	}
	CMD:tuning(playerid, params[])
	{
	    new str[148];
		strcat(str, "/waa - wheel arch angles in san fierro\n");
		strcat(str, "/modsf - transfender san fierro\n");
		strcat(str, "/modlv - transfender las venturas\n");
		strcat(str, "/loco - Loco Low Co. Lowrider pimping shop\n");
		ShowPlayerDialog(playerid, d_Cmds, DIALOG_STYLE_MSGBOX, "Tuning Shops List", str, "Close", "");
		return 1;
	}
	CMD:random(playerid, params[])
	{
	    new str[179];
		strcat(str, "/thing1 /thing2 /thing3 - random things...\n");
		strcat(str, "/farm - farm! What else could it be?\n");
		strcat(str, "/cliff1/2/3/4 - some random cliff you've probably never been to\n");
		strcat(str, "/bridge1/2 - bridges in san fierro\n");
		ShowPlayerDialog(playerid, d_Cmds, DIALOG_STYLE_MSGBOX, "Random Teleport List", str, "Close", "");
		return 1;
	}
	CMD:qlist(playerid, params[])
	{
	    new str[520];
	    for(new s;s<10;s++)
		{
		    printf("line: %s", pChat[playerid][s]);
			format(str, 500, "%s{FFFF00}#%d {FFFFFF}- {33AA33}%s\n", str, s, pChat[playerid][s]);
			printf("%s{FFFF00}#%d {FFFFFF}- {33AA33}%s\n", str, s, pChat[playerid][s]);
		}
		ShowPlayerDialog(playerid, d_Cmds, DIALOG_STYLE_MSGBOX, "Quick Messages, insert to chat with '#<message number>'", str, "Close", "");
	    return 1;
	}

